package com.erlinyou.im.web.controller.base;

import com.erlinyou.im.web.vo.chat.ChatContactsVo;

public class GetFriendStepNumVo implements Comparable<GetFriendStepNumVo>{

	private long userid;
	
	private String image;
	
	private String nickName;
	
	private long createDate;
	
	private int stepNum;
	
	private int countLike;
	
	private boolean isLike;
	

	
	

	public boolean getIsLike() {
		return isLike;
	}

	public void setIsLike(boolean isLike) {
		this.isLike = isLike;
	}

	public long getUserid() {
		return userid;
	}

	public void setUserid(long userid) {
		this.userid = userid;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getNickName() {
		return nickName;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public long getCreateDate() {
		return createDate;
	}

	public void setCreateDate(long createDate) {
		this.createDate = createDate;
	}

	public int getStepNum() {
		return stepNum;
	}

	public void setStepNum(int stepNum) {
		this.stepNum = stepNum;
	}

	public int getCountLike() {
		return countLike;
	}

	public void setCountLike(int countLike) {
		this.countLike = countLike;
	}

	@Override
	public int compareTo(GetFriendStepNumVo o) {
		if(o.stepNum>this.stepNum){
            return 1;
        }else if(o.stepNum<this.stepNum){
            return -1;
        }
        return 0;
	}
	
	
}
